package com.smart.seven.aop.advice.introductioninterceptor;

/**
 * 接口
 *
 * @author junrui.wang
 * @create 2018/7/24
 */
public class ForumService {
    public void removeTopic(int topicID) {
        System.out.println("模拟删除Topic记录:" + topicID);
        try {
            Thread.currentThread().sleep(20);
        } catch (InterruptedException e) {
            throw new RuntimeException();
        }


    }

    public void removeForum(int forumID) {
        System.out.println("模拟删除Forum记录:" + forumID);
        try {
            Thread.currentThread().sleep(40);
        } catch (InterruptedException e) {
            throw new RuntimeException();
        }
    }
}
